<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:98:"/Applications/XAMPP/xamppfiles/htdocs/smq/gonglu/public/../application/index/view/index/index.html";i:1526615856;s:99:"/Applications/XAMPP/xamppfiles/htdocs/smq/gonglu/public/../application/index/view/index/header.html";i:1526571863;s:99:"/Applications/XAMPP/xamppfiles/htdocs/smq/gonglu/public/../application/index/view/index/footer.html";i:1526554513;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>湖州公路养护应急中心</title>

    <!-- Bootstrap -->
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

    <!--自建css文件-->
    <link rel="stylesheet" href="__STATIC__/index/css/cmgd.css">

</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>湖州公路养护应急中心</title>
    <meta http-equiv="Windows-Target" contect="_top">
    <meta name="360-site-verification" content="0791d0e950c69c4c3cf641ba60a23c19" />
</head>
<body>
<!-- 导航 -->
<div style="border-bottom:1.5px solid #6B000A;">
<div class="container">
    <div style="padding-top:20px;">
        <div style="float:left;">
            <img src="__STATIC__/index/images/logo.jpg" style="width:100px;"/>
        </div>
        <a href="">
            <h1 style="float:left;font-family:yahei consolas hybrid;color:#000000;">湖州公路养护应急中心<small></small>
                <div><small style="font-size:16px;">HuZhouGongLuYangHu</small></div>
            </h1>
        </a>
        <!--<ul style="float:right;font-size:18px;margin-top:30px;">-->
            <!--<div class="top_pic"><span>首页</span></li></div>-->
        <!--</ul>-->
    </div>
    <div>
        <nav>
            <div class="container">
                <div class="navbar-header">
                </div>
                <div id="navbar" class="navbar-collapse collapse">
                    <ul class="nav navbar-nav" style="margin-left:20%;margin-top:50px;border:1px solid #6B000A;">
                        <li <?php if($path == 'index'): ?>class="active"<?php endif; ?>><a href="<?php echo url('Index/index'); ?>">首页</a></li><li></li>
                        <li <?php if($path == 'have'): ?>class="active"<?php endif; ?>><a href="<?php echo url('Index/patent'); ?>">新闻中心</a></li>
                        <li <?php if($path == 'trademark'): ?>class="active"<?php endif; ?>><a href="patent.html?id=12">养护技术</a></li>
                        <li <?php if($path == 'patent'): ?>class="active"<?php endif; ?> ><a href="patent.html?id=8">展会信息</a></li>
                        <li <?php if($path == 'agent'): ?>class="active"<?php endif; ?> ><a href="patent.html?id=13">企业专栏</a></li>
                    </ul>
                </div>
            </div>
        </nav>
    </div>
</div>
</div>
<!-- 导航 -->
</body>
</html>
<div class="container">
    <div class="row">
        <div class="col-xs-12">
            <!--轮播图-->
            <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                <ol class="carousel-indicators">
                    <?php if(is_array($number) || $number instanceof \think\Collection || $number instanceof \think\Paginator): $i = 0; $__LIST__ = $number;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$number): $mod = ($i % 2 );++$i;?>
                    <li data-target="#carousel-example-generic" data-slide-to="<?php echo $number['id']; ?>"
                        <?php if($number['id'] == '1'): ?>class="active"<?php endif; ?>></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ol>
                <div class="carousel-inner" role="listbox">
                    <?php if(is_array($ad) || $ad instanceof \think\Collection || $ad instanceof \think\Paginator): $i = 0; $__LIST__ = $ad;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ad): $mod = ($i % 2 );++$i;?>
                    <div <?php if($ad['id'] == 1): ?>class="item active" <?php else: ?> class="item "<?php endif; ?>
                    style="height: 365px;">
                    <img src="/uploads/images/<?php echo $ad['images']; ?>" >
                </div>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                <span class="sr-only">上一页</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                <span class="sr-only">下一页</span>
            </a>
        </div>
    </div>
</div>
<!--x文章类-->
    <!--左边-->
    <!--通知公告-->
<div style="height:520px;width:100%;border:1px solid red;margin-top:20px;">
    <div style="height:520px;width:20%;border:1px solid #111111;">
        <div style="margin:10px 20px;">
            <a href="patent.html?id=5"  style="text-decoration:none;color:#000000;">
            <span style="line-height:30px;color:#ffffff;background-color:#71000B;font-size:18px;">通知公告</span>
            <span style="line-height:30px;color:#000000;background-color:#E7E7E7;font-size:18px;">更多内容 ></span>
            </a>
        </div>
        <div style="border:1px solid #E7E7E7;width:92%;margin-left:4%;height:370px;">
        <img src="/uploads/img/4.jpg" style="width:100%;">
        <ul style="margin-left:-40px;margin-top:10px;">
                <?php if(is_array($laws) || $laws instanceof \think\Collection || $laws instanceof \think\Paginator): $i = 0; $__LIST__ = $laws;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$laws): $mod = ($i % 2 );++$i;?>
            <a href="show_patent.html?id=<?php echo $laws['id']; ?>"  style="text-decoration:none;color:#000000;">
                    <li style="list-style:none;line-height:30px;">
                        <span>
                              <img src="/uploads/img/5.png" style="width:4%">
                            <span style="margin-left:2px;"><?php echo $laws['title']; ?></span>
                        </span>
                        <span>【<?php echo date("Y-m-d",$laws['update_time']); ?>】</span>
                    </li>
            </a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
        </div>
        <img src="/uploads/img/3.jpg" style="width:100%;margin-top:20px;">
    </div>
<!--通知公告-->
<!--右边-->
<div style="height:270px;width:80%;border:1px solid #000000;position:relative;left:20%;bottom:520px;">
<!--新闻中心-->
    <div style="border:1px solid blue;height:270px;width:48%;">
          <div style="margin-left:5%;border-bottom:1.5px solid #6B000A;">
            <span style="font-size:28px;">
                <img src="/uploads/img/7.jpg" style="width:2%;">
               <span style="margin-left:1px;">
                   <a href="patent.html?id=1"  style="text-decoration:none;color:#000000;">
                       新闻中心1
                   </a>
               </span>
            </span>
              <span style="float:right;margin-right:30px;"><img src="/uploads/img/6.jpg" style="margin-left:80%;margin-top:10px;"></span>
              <div style="margin-left:5%;">News Center</div>
          </div>
        <ul style="line-height:30px;">
            <?php if(is_array($patent) || $patent instanceof \think\Collection || $patent instanceof \think\Paginator): $i = 0; $__LIST__ = $patent;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$patent): $mod = ($i % 2 );++$i;?>
            <a href="show_patent.html?id=<?php echo $patent['id']; ?>"  style="text-decoration:none;color:#000000;">
            <li style="list-style:none;margin-left:-16px;border-bottom:1.4px dotted #C1C1C1;">
                <span>
                    <img src="/uploads/img/5.png" style="width:1.5%;margin-left:2px;">
                    <span><?php echo $patent['title']; ?></span>
                </span>
                <span style="float: right;">【<?php echo date("Y-m-d",$patent['update_time']); ?>】</span>
            </li>
            </a>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
     </div>
     <div style="position:relative;left:50%;bottom:270px;height:270px;width:50%;border:1px solid yellow;">
         <div style="margin-left:5%;border-bottom:1.5px solid #6B000A;">
            <span style="font-size:28px;">
                <img src="/uploads/img/7.jpg" style="width:2%;">
               <span style="margin-left:1px;">
                   <a href="patent.html?id=2"  style="text-decoration:none;color:#000000;">
                       新闻中心2
                   </a>
               </span>
            </span>
             <span style="float:right;margin-right:30px;"><img src="/uploads/img/6.jpg" style="margin-left:80%;margin-top:10px;"></span>
             <div style="margin-left:5%;">News Center</div>
         </div>
            <ul style="line-height:30px;">
                <?php if(is_array($agent) || $agent instanceof \think\Collection || $agent instanceof \think\Paginator): $i = 0; $__LIST__ = $agent;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$agent): $mod = ($i % 2 );++$i;?>
                <a href="show_patent.html?id=<?php echo $agent['id']; ?>"  style="text-decoration:none;color:#000000;">
                <li style="list-style:none;margin-left:-16px;border-bottom:1.4px dotted #C1C1C1;">
                    <span>
                        <img src="/uploads/img/5.png" style="width:1.5%;margin-left:2px;">
                        <span><?php echo $agent['title']; ?></span>
                    </span>
                    <span style="float:right;">【<?php echo date("Y-m-d",$agent['update_time']); ?>】</span>
                </li>
                </a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
     </div>
    </div>


    <div style="position:relative;left:20%;bottom:520px;width:55%;height:250px;">
            <div class="shop_click" style="background-color:#f3f3f3;">
                <a onclick="change_div('exhibition')" style="text-decoration:none;color:#B5B5B5;font-size:28px;"><span id="a" style="margin-left:5%;">展会信息</span></a>
                <a onclick="change_div('exhibition2')" style="text-decoration:none;color:#B5B5B5;font-size:28px;"><span id="a2" style="margin-left:5%;">展会信息</span></a>
                <a onclick="change_div('exhibition3')" style="text-decoration:none;color:#B5B5B5;font-size:28px;"><span id="a3" style="margin-left:5%;">展会信息</span></a>
                <a onclick="change_div('exhibition4')" style="text-decoration:none;color:#B5B5B5;font-size:28px;"><span id="a4" style="margin-left:5%;">展会信息</span></a>
            </div>
        <div id="exhibition" style="margin-top:10px;">
        <ul style="line-height:30px;width:90%;">
            <?php if(is_array($exhibition) || $exhibition instanceof \think\Collection || $exhibition instanceof \think\Paginator): $i = 0; $__LIST__ = $exhibition;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$exhibition): $mod = ($i % 2 );++$i;?>
            <a href="show_patent.html?id=<?php echo $exhibition['id']; ?>"  style="text-decoration:none;color:#000000;">
                <li style="list-style:none;margin-left:-16px;border-bottom:1.4px dotted #C1C1C1;">
                    <span>
                        <img src="/uploads/img/5.png" style="width:1.5%;margin-left:2px;">
                        <span><?php echo $exhibition['title']; ?></span>
                    </span>
                    <span style="float: right;">【<?php echo date("Y-m-d",$exhibition['update_time']); ?>】</span>
                </li>
            </a>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
        </div>
        <div id="exhibition2" style="margin-top:10px;">
                <ul style="line-height:30px;width:90%;">
                    <?php if(is_array($exhibition2) || $exhibition2 instanceof \think\Collection || $exhibition2 instanceof \think\Paginator): $i = 0; $__LIST__ = $exhibition2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$exhibition2): $mod = ($i % 2 );++$i;?>
                    <a href="show_patent.html?id=<?php echo $exhibition2['id']; ?>"  style="text-decoration:none;color:#000000;">
                        <li style="list-style:none;margin-left:-16px;border-bottom:1.4px dotted #C1C1C1;">
                    <span>
                        <img src="/uploads/img/5.png" style="width:1.5%;margin-left:2px;">
                        <span><?php echo $exhibition2['title']; ?></span>
                    </span>
                            <span style="float: right;">【<?php echo date("Y-m-d",$exhibition2['update_time']); ?>】</span>
                        </li>
                    </a>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
        </div>
       <div id="exhibition3" style="margin-top:10px;">
        <ul style="line-height:30px;width:90%;">
            <?php if(is_array($exhibition3) || $exhibition3 instanceof \think\Collection || $exhibition3 instanceof \think\Paginator): $i = 0; $__LIST__ = $exhibition3;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$exhibition3): $mod = ($i % 2 );++$i;?>
            <a href="show_patent.html?id=<?php echo $exhibition3['id']; ?>"  style="text-decoration:none;color:#000000;">
                <li style="list-style:none;margin-left:-16px;border-bottom:1.4px dotted #C1C1C1;">
                    <span>
                        <img src="/uploads/img/5.png" style="width:1.5%;margin-left:2px;">
                        <span><?php echo $exhibition3['title']; ?></span>
                    </span>
                    <span style="float: right;">【<?php echo date("Y-m-d",$exhibition3['update_time']); ?>】</span>
                </li>
            </a>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
       </div>

     <div id="exhibition4" style="margin-top:10px;">
       <ul style="line-height:30px;width:90%;">
        <?php if(is_array($exhibition4) || $exhibition4 instanceof \think\Collection || $exhibition4 instanceof \think\Paginator): $i = 0; $__LIST__ = $exhibition4;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$exhibition4): $mod = ($i % 2 );++$i;?>
        <a href="show_patent.html?id=<?php echo $exhibition4['id']; ?>"  style="text-decoration:none;color:#000000;">
            <li style="list-style:none;margin-left:-16px;border-bottom:1.4px dotted #C1C1C1;">
                    <span>
                        <img src="/uploads/img/5.png" style="width:1.5%;margin-left:2px;">
                        <span><?php echo $exhibition4['title']; ?></span>
                    </span>
                <span style="float: right;">【<?php echo date("Y-m-d",$exhibition4['update_time']); ?>】</span>
            </li>
        </a>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
   </div>

</div>
    </div>
<script type="text/javascript">
    function change_div(id){
        if (id == 'exhibition2' )
        {
            var d = document.getElementById("a2");
            d.style.backgroundColor = "#6C000A";
            d.style.color = "#FFFFFF";
            var d2 = document.getElementById("a");
            d2.style.color = "#B5B5B5";
            d2.style.backgroundColor = "#f3f3f3";
            var d3 = document.getElementById("a3");
            d3.style.backgroundColor = "#f3f3f3";
            d3.style.color = "#B5B5B5";
            var d4 = document.getElementById("a4");
            d4.style.backgroundColor = "#f3f3f3";
            d4.style.color = "#B5B5B5";
            document.getElementById("exhibition2").style.display = 'block' ;
            document.getElementById("exhibition").style.display = 'none' ;
            document.getElementById("exhibition3").style.display = 'none' ;
            document.getElementById("exhibition4").style.display = 'none' ;
        }
        else if(id == 'exhibition' )
        {
            var d = document.getElementById("a");
            d.style.backgroundColor = "#6C000A";
            d.style.color = "#FFFFFF";
            var d2 = document.getElementById("a2");
            d2.style.backgroundColor = "#f3f3f3";
            d2.style.color = "#B5B5B5";
            var d3 = document.getElementById("a3");
            d3.style.backgroundColor = "#f3f3f3";
            d3.style.color = "#B5B5B5";
            var d4 = document.getElementById("a4");
            d4.style.backgroundColor = "#f3f3f3";
            d4.style.color = "#B5B5B5";
            document.getElementById("exhibition").style.display = 'block' ;
            document.getElementById("exhibition2").style.display = 'none' ;
            document.getElementById("exhibition3").style.display = 'none' ;
            document.getElementById("exhibition4").style.display = 'none' ;
        }
        else if(id == 'exhibition3' )
        {
            var d = document.getElementById("a3");
            d.style.backgroundColor = "#6C000A";
            d.style.color = "#FFFFFF";
            var d2 = document.getElementById("a");
            d2.style.backgroundColor = "#f3f3f3";
            d2.style.color = "#B5B5B5";
            var d3 = document.getElementById("a2");
            d3.style.backgroundColor = "#f3f3f3";
            d3.style.color = "#B5B5B5";
            var d4 = document.getElementById("a4");
            d4.style.backgroundColor = "#f3f3f3";
            d4.style.color = "#B5B5B5";
            document.getElementById("exhibition3").style.display = 'block' ;
            document.getElementById("exhibition2").style.display = 'none' ;
            document.getElementById("exhibition").style.display = 'none' ;
            document.getElementById("exhibition4").style.display = 'none' ;
        }
        else if(id == 'exhibition4' )
        {
            var d = document.getElementById("a4");
            d.style.backgroundColor = "#6C000A";
            d.style.color = "#FFFFFF";
            var d2 = document.getElementById("a");
            d2.style.backgroundColor = "#f3f3f3";
            d2.style.color = "#B5B5B5";
            var d3 = document.getElementById("a2");
            d3.style.backgroundColor = "#f3f3f3";
            d3.style.color = "#B5B5B5";
            var d4 = document.getElementById("a3");
            d4.style.backgroundColor = "#f3f3f3";
            d4.style.color = "#B5B5B5";
            document.getElementById("exhibition4").style.display = 'block' ;
            document.getElementById("exhibition2").style.display = 'none' ;
            document.getElementById("exhibition3").style.display = 'none' ;
            document.getElementById("exhibition").style.display = 'none' ;
        }
    }
</script>
<style type="text/css">
    #exhibition2 { display:none;}
    #exhibition3 { display:none;}
    #exhibition4 { display:none;}
</style>
<div style="width:100%;margin-top:20px;">
    <img src="/uploads/images/<?php echo $pic[0]['pic']; ?>" style="width:100%;">
</div>
<!--新闻中心-->
<!--x文章类-->
<!--左边-->
<!--公路要事-->
<div style="height:520px;width:100%;border:1px solid red;margin-top:20px;">
    <div style="height:520px;width:20%;border:1px solid #111111;">
        <div style="margin:10px 20px;">
            <a href="patent.html?id=6"  style="text-decoration:none;color:#000000;">
            <span style="line-height:30px;color:#ffffff;background-color:#71000B;font-size:18px;">公路要事</span>
            <span style="line-height:30px;color:#000000;background-color:#E7E7E7;font-size:18px;">更多 ></span>
            </a>
        </div>
        <div style="border:1px solid #E7E7E7;width:92%;margin-left:4%;height:460px;">
            <?php if(is_array($problem) || $problem instanceof \think\Collection || $problem instanceof \think\Paginator): $i = 0; $__LIST__ = $problem;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$problem): $mod = ($i % 2 );++$i;?>
            <a href="show_patent.html?id=<?php echo $problem['id']; ?>" >
            <img src="/uploads/images/<?php echo $problem['photo']; ?>" style="width:100%;">
            </a>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>
    <!--公路要事-->
    <!--右边-->
    <div style="height:270px;width:80%;border:1px solid #000000;position:relative;left:20%;bottom:520px;">
        <!--新闻中心-->
        <div style="border:1px solid blue;height:270px;width:48%;">
            <div style="margin-left:5%;border-bottom:1.5px solid #6B000A;">
            <span style="font-size:28px;">
                <img src="/uploads/img/7.jpg" style="width:2%;">
               <span style="margin-left:1px;">
                   <a href="patent.html?id=4"  style="text-decoration:none;color:#000000;">
                   新闻中心3
                   </a>
               </span>
            </span>
                <span style="float:right;margin-right:30px;"><img src="/uploads/img/6.jpg" style="margin-left:80%;margin-top:10px;"></span>
                <div style="margin-left:5%;">News Center</div>
            </div>
            <ul style="line-height:30px;">
                <?php if(is_array($register) || $register instanceof \think\Collection || $register instanceof \think\Paginator): $i = 0; $__LIST__ = $register;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$register): $mod = ($i % 2 );++$i;?>
                <a href="show_patent.html?id=<?php echo $register['id']; ?>"  style="text-decoration:none;color:#000000;">
                <li style="list-style:none;margin-left:-16px;border-bottom:1.4px dotted #C1C1C1;">
                <span>
                    <img src="/uploads/img/5.png" style="width:1.5%;margin-left:2px;">
                    <?php echo $register['title']; ?>
                    <span style="float: right;">【<?php echo date("Y-m-d",$register['update_time']); ?>】</span>
                </span>
                </li>
                </a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
        <div style="position:relative;left:50%;bottom:270px;height:270px;width:50%;border:1px solid yellow;">
            <div style="margin-left:5%;border-bottom:1.5px solid #6B000A;">
            <span style="font-size:28px;">
                <img src="/uploads/img/7.jpg" style="width:2%;">
               <span style="margin-left:1px;">
                   <a href="patent.html?id=3"  style="text-decoration:none;color:#000000;">
                       新闻中心4
                   </a>
               </span>
            </span>
                <span style="float:right;margin-right:30px;"><img src="/uploads/img/6.jpg" style="margin-left:80%;margin-top:10px;"></span>
                <div style="margin-left:5%;">News Center</div>
            </div>
            <ul style="line-height:30px;">
                <?php if(is_array($news) || $news instanceof \think\Collection || $news instanceof \think\Paginator): $i = 0; $__LIST__ = $news;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$news): $mod = ($i % 2 );++$i;?>
                <a href="show_patent.html?id=<?php echo $news['id']; ?>"  style="text-decoration:none;color:#000000;">
                <li style="list-style:none;margin-left:-16px;border-bottom:1.4px dotted #C1C1C1;">
                    <span>
                        <img src="/uploads/img/5.png" style="width:1.5%;margin-left:2px;">
                        <span><?php echo $news['title']; ?></span>
                    </span>
                    <span style="float: right;">【<?php echo date("Y-m-d",$news['update_time']); ?>】</span>
                </li>
                </a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
    </div>
    <div style="position:relative;left:20%;bottom:520px;width:80%;height:250px;border:1px solid green;">
        <div style="margin-left:2%;">
            <span style="font-size:28px;">
                <img src="/uploads/img/7.jpg" style="width:1%;">
               <span style="margin-left:1px;">风采展示</span>
            </span>
            <div style="margin-left:3%;">Elegant Appearance</div>
        </div>
        <div style="height:190px;">
            <div id="demo">
                <div id="indemo">
                    <div id="demo1">
                        <?php if(is_array($mien) || $mien instanceof \think\Collection || $mien instanceof \think\Paginator): $i = 0; $__LIST__ = $mien;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$mien): $mod = ($i % 2 );++$i;?>
                        <a href="show_patent.html?id=<?php echo $mien['id']; ?>"><img src="/uploads/images/<?php echo $mien['photo']; ?>" style="height:180px;"/></a>
                       <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                    <div id="demo2"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<style type="text/css">
    #demo {
        background: #FFF;
        overflow:hidden;
        width: 80%;
        margin-left:10% ;
    }
    #indemo {
        float: left;
        width: 800%;
    }
    #demo1 {
        float: left;
    }
    #demo2 {
        float: left;
    }
</style>
<script>
    <!--
    var speed=10; //数字越大速度越慢
    var tab=document.getElementById("demo");
    var tab1=document.getElementById("demo1");
    var tab2=document.getElementById("demo2");
    tab2.innerHTML=tab1.innerHTML;
    function Marquee(){
        if(tab2.offsetWidth-tab.scrollLeft<=0)
            tab.scrollLeft-=tab1.offsetWidth
        else{
            tab.scrollLeft++;
        }
    }
    var MyMar=setInterval(Marquee,speed);
    tab.onmouseover=function() {clearInterval(MyMar)};
    tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
    -->
</script>
<!--主体结束-->
</body>
<footer>
    <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="background-color:#F5F5F5;">
<div style="border-top:3px solid #6B000A;height:50px;margin-top:20px;border-bottom:1px solid #D0D0D0;border-left:1px solid #D0D0D0;border-right:1px solid #D0D0D0;">
    <div style="font-size:20px;text-align: center;margin:10px 30px;">
        <span style="margin-left:30px;"><a style="text-decoration:none;color:#000000;" href="<?php echo url('Index/index'); ?>">首页</a></span>
        <span style="margin-left:20px;color:#BFC0BF;">/</span>
        <span style="margin-left:30px;"><a style="text-decoration:none;color:#000000;" href="<?php echo url('Index/patent'); ?>">新闻中心</a></span>
        <span style="margin-left:20px;color:#BFC0BF;">/</span>
        <span style="margin-left:30px;"><a style="text-decoration:none;color:#000000;" href="<?php echo url('Index/trademark'); ?>" >养护技术</a></span>
        <span style="margin-left:20px;color:#BFC0BF;">/</span>
        <span style="margin-left:30px;"><a style="text-decoration:none;color:#000000;" href="<?php echo url('Index/patent'); ?>">展会信息</a></span>
        <span style="margin-left:20px;color:#BFC0BF;">/</span>
        <span style="margin-left:30px;"><a style="text-decoration:none;color:#000000;" href="<?php echo url('Index/agent'); ?>">企业专栏</a></span>
    </div>
</div>

<div style="height:40px;margin-top:5px;border-bottom:1px solid #f3f3f3;">
<div style="font-size:16px;text-align: center;margin:10px 30px;">
    <span style="margin-left:30px;">江西公路养护</span>
    <span style="margin-left:20px;color:#BFC0BF;">|</span>
    <span style="margin-left:30px;">江西公路养护</span>
    <span style="margin-left:20px;color:#BFC0BF;">|</span>
    <span style="margin-left:30px;">江西公路养护</span>
</div>
</div>
    <div style="height:60px;border-bottom:1px solid #f3f3f3;text-align: center;color:#C8C8C8;">
        <?php if(is_array($contact) || $contact instanceof \think\Collection || $contact instanceof \think\Paginator): $i = 0; $__LIST__ = $contact;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$contact): $mod = ($i % 2 );++$i;?>
        <span><?php echo $contact['content']; ?></span>
        <span>地址:<?php echo $contact['latitude']; ?></span>
        <span>电话:<?php echo $contact['longitude']; ?></span>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
    <div style="margin-top:-40px;text-align:center;color:#C8C8C8;">
        ©2018 茶马古道 浙ICP备
    </div>
</div>
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>
</html>
</footer>
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</html>


